package com.situ.blog.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Blog {
    private Integer id;
    private String title;
    private String image;
    private Integer clickCount;
    private String content;
    private Integer typeId;
    private Integer status;
    private Integer deleted;
    private Date gmtCreate;
    private Date gmtModified;

    public Blog(String title, String image, String content, Integer typeId) {
        this.title = title;
        this.image = image;
        this.content = content;
        this.typeId = typeId;
    }
}
